<?php

class Damages_Methods_Data_List_Field {

  /**
   *
   * @var int 
   */
  public $id;

  /**
   *
   * @var string 
   */
  public $name;

  /**
   *
   * @var string 
   */
  public $code;

  public function __construct(DamagesListFields $field) {
    $this->id = $field->getId();
    $this->name = $field->getName();
    $this->code = $field->getCode();
  }

}